package com.joker.orange.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户统计视图对象 t_agent_user_statistics
 *
 * @author Joker
 * @date 2024-06-09
 */
@Data
@ExcelIgnoreUnannotated
public class AgentUserStatisticsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 代理/平台ID
     */
    @ExcelProperty(value = "代理/平台ID")
    private Long agentId;

    /**
     * 用户昵称
     */
    @ExcelProperty(value = "用户昵称")
    private String agentName;

    /**
     * 手机号码
     */
    @ExcelProperty(value = "手机号码")
    private String phone;

    /**
     * 用户类型（sys_user系统用户、sys_agent代理用户）
     */
    @ExcelProperty(value = "用户类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "s=ys_user系统用户、sys_agent代理用户")
    private String userType;

    /**
     * 代理等级
     */
    @ExcelProperty(value = "代理等级")
    private String agentLevel;

    /**
     * 上级代理
     */
    @ExcelProperty(value = "上级代理")
    private String superiorAgent;

    /**
     * 分佣比例
     */
    @ExcelProperty(value = "分佣比例")
    private BigDecimal commissionRatio;

    /**
     * 分佣金额
     */
    @ExcelProperty(value = "分佣金额")
    private BigDecimal commissionAmount;

    /**
     * 安卓充值金额
     */
    @ExcelProperty(value = "安卓充值金额")
    private BigDecimal androidRechargeAmount;

    /**
     * iOS充值金额
     */
    @ExcelProperty(value = "iOS充值金额")
    private BigDecimal iosRechargeAmount;

    /**
     * 安卓注册数量
     */
    @ExcelProperty(value = "安卓注册数量")
    private String androidRegistrationCount;

    /**
     * iOS注册数量
     */
    @ExcelProperty(value = "iOS注册数量")
    private String iosRegistrationCount;

    /**
     * 会员数量
     */
    @ExcelProperty(value = "会员数量")
    private String memberCount;

    /**
     * 充值金额
     */
    @ExcelProperty(value = "充值金额")
    private BigDecimal rechargeAmount;

    /**
     * 日活用户数
     */
    @ExcelProperty(value = "日活用户数")
    private String dailyActiveCount;

    /**
     * 推广用户数
     */
    @ExcelProperty(value = "推广用户数")
    private String promotionUserCount;

    /**
     * 安卓扣单数量
     */
    @ExcelProperty(value = "安卓扣单数量")
    private String androidOrderDeductionCount;

    /**
     * iOS扣单数量
     */
    @ExcelProperty(value = "iOS扣单数量")
    private String iosOrderDeductionCount;

    /**
     * 安卓扣单金额
     */
    @ExcelProperty(value = "安卓扣单金额")
    private BigDecimal androidOrderDeductionAmount;

    /**
     * iOS扣单金额
     */
    @ExcelProperty(value = "iOS扣单金额")
    private BigDecimal iosOrderDeductionAmount;

    /**
     * 安卓扣注册量
     */
    @ExcelProperty(value = "安卓扣注册量")
    private String androidRegistrationDeductionCount;

    /**
     * iOS扣注册量
     */
    @ExcelProperty(value = "iOS扣注册量")
    private String iosRegistrationDeductionCount;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
